home *** CD-ROM | disk | FTP | other *** search
/ Core Concepts in Art 2 / Core Concepts in Art (Frames of Reference)(The McGraw-Hill Companies)(2004).iso / mac / media / search.swf / scripts / DefineButton2_53 / BUTTONCONDACTION on(release).as next >
Text File  |  2003-10-12  |  508b  |  27 lines

  1. on(release){
  2.    if(currentPage > 1)
  3.    {
  4.       titlesHolder._y += 180;
  5.       goldbar._y = 294;
  6.       currentPage--;
  7.       if(currentPage >= 2)
  8.       {
  9.          showThisCaption = currentPage - 1 + "9";
  10.       }
  11.       else
  12.       {
  13.          showThisCaption = 9;
  14.       }
  15.       processCaption(showThisCaption);
  16.       if(currentPage > 1)
  17.       {
  18.          previous_btn._visible = 1;
  19.       }
  20.       else
  21.       {
  22.          previous_btn._visible = 0;
  23.       }
  24.       next_btn._visible = 1;
  25.    }
  26. }
  27.